Optimal. Leaf size=55 \[ -\frac{a e^2-b d e+c d^2}{e^3 (d+e x)}-\frac{(2 c d-b e) \log (d+e x)}{e^3}+\frac{c x}{e^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.107507, antiderivative size = 55, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.056 \[ -\frac{a e^2-b d e+c d^2}{e^3 (d+e x)}-\frac{(2 c d-b e) \log (d+e x)}{e^3}+\frac{c x}{e^2} \]
Antiderivative was successfully verified.
[In] Int[(a + b*x + c*x^2)/(d + e*x)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ \frac{\int c\, dx}{e^{2}} + \frac{\left (b e - 2 c d\right ) \log{\left (d + e x \right )}}{e^{3}} - \frac{a e^{2} - b d e + c d^{2}}{e^{3} \left (d + e x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((c*x**2+b*x+a)/(e*x+d)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0517761, size = 49, normalized size = 0.89 \[ \frac{-\frac{a e^2-b d e+c d^2}{d+e x}+(b e-2 c d) \log (d+e x)+c e x}{e^3} \]
Antiderivative was successfully verified.
[In] Integrate[(a + b*x + c*x^2)/(d + e*x)^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.008, size = 74, normalized size = 1.4 \[{\frac{cx}{{e}^{2}}}+{\frac{\ln \left ( ex+d \right ) b}{{e}^{2}}}-2\,{\frac{cd\ln \left ( ex+d \right ) }{{e}^{3}}}-{\frac{a}{e \left ( ex+d \right ) }}+{\frac{bd}{{e}^{2} \left ( ex+d \right ) }}-{\frac{c{d}^{2}}{{e}^{3} \left ( ex+d \right ) }} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((c*x^2+b*x+a)/(e*x+d)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.803463, size = 78, normalized size = 1.42 \[ -\frac{c d^{2} - b d e + a e^{2}}{e^{4} x + d e^{3}} + \frac{c x}{e^{2}} - \frac{{\left (2 \, c d - b e\right )} \log \left (e x + d\right )}{e^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)/(e*x + d)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.202284, size = 105, normalized size = 1.91 \[ \frac{c e^{2} x^{2} + c d e x - c d^{2} + b d e - a e^{2} -{\left (2 \, c d^{2} - b d e +{\left (2 \, c d e - b e^{2}\right )} x\right )} \log \left (e x + d\right )}{e^{4} x + d e^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)/(e*x + d)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 1.99562, size = 49, normalized size = 0.89 \[ \frac{c x}{e^{2}} - \frac{a e^{2} - b d e + c d^{2}}{d e^{3} + e^{4} x} + \frac{\left (b e - 2 c d\right ) \log{\left (d + e x \right )}}{e^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x**2+b*x+a)/(e*x+d)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.205537, size = 143, normalized size = 2.6 \[ -{\left (e^{\left (-1\right )}{\rm ln}\left (\frac{{\left | x e + d \right |} e^{\left (-1\right )}}{{\left (x e + d\right )}^{2}}\right ) - \frac{d e^{\left (-1\right )}}{x e + d}\right )} b e^{\left (-1\right )} +{\left (2 \, d e^{\left (-3\right )}{\rm ln}\left (\frac{{\left | x e + d \right |} e^{\left (-1\right )}}{{\left (x e + d\right )}^{2}}\right ) +{\left (x e + d\right )} e^{\left (-3\right )} - \frac{d^{2} e^{\left (-3\right )}}{x e + d}\right )} c - \frac{a e^{\left (-1\right )}}{x e + d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)/(e*x + d)^2,x, algorithm="giac")
[Out]